package org.sklse.learningassistant.service;

import org.sklse.learningassistant.bean.Point;
import org.sklse.learningassistant.dao.PointRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

@Transactional
@Service
public class PointService {

    @Autowired
    private PointRepository pointRepository;


    public Point findById(Integer id){
        return pointRepository.findById(id);
    }

}
